cmake_minimum_required(VERSION 3.5.0)
project(dependency)

set(CMAKE_CXX_STANDARD 17)

add_subdirectory(glfw)
add_subdirectory(Entt)
add_subdirectory(assimp)
add_subdirectory(reactphysics3d)
add_subdirectory(yaml-cpp)
add_subdirectory(freetype)

add_subdirectory(gut)
add_subdirectory(imgui)
add_subdirectory(model)
add_subdirectory(math)
# add_subdirectory(physics)

find_package(ogl-gut)
find_package(ogl-imgui)
find_package(ogl-model)
target_include_directories(ogl-gut PUBLIC glfw/include)
target_include_directories(ogl-imgui PUBLIC gut/include glfw/include)
target_include_directories(ogl-model PUBLIC assimp/include)
